export default {
  data() {
    return {
      shareParams: {
        path: '/pages/login/login',
        title: '邀请您成为新用户',
      },
    }
  },
  onShareAppMessage(res) {
    if (res.from === 'button') {
      console.log(res.target)
    }
    return {
      title: this.shareParams.title,
      path: this.shareParams.path,
      imageUrl: 'http://www.hhac.work/system/file/image/youche.png',
      desc: '办公系统',
    }
  },
  onShareTimeline() {
    return {
      title: this.shareParams.title,
      path: this.shareParams.path,
      imageUrl: 'http://www.hhac.work/system/file/image/youche.png',
    }
  },
}
1
